package com.js.jetpackdemo.entity

import androidx.room.Entity
import androidx.room.PrimaryKey


// Created by JS on 2021/5/28.
@Entity
data class Book(var name: String, var pages: Int, var author: String) {

    @PrimaryKey(autoGenerate = true)
    var id: Long = 0
}